package icu.groot.alan.hotel.util.response;

public class Health {

    private int code;
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        if (code != 4021){
            throw new RuntimeException("条件不满足");
        }
        this.code = code;
    }

    @Override
    public String toString() {
        return "Health{" +
                "code=" + code +
                '}';
    }
}
